package com.ytc.content;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.ytc.web","com.ytc.content","com.ytc.mybatis","com.ytc.commons"
})
@MapperScan("com.ytc.content.mappers")
@EnableFeignClients({"com.ytc.media.api","com.ytc.basic.api"})
@EnableAsync
public class ContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContentApplication.class,args);
    }
}
